package com.techsoul.module.tms.pojo.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import com.techsoul.common.core.pojo.entity.DataEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;
/**
 * FreightVehicleAssigned
 * 派单表
 * @author zhaowei
 * @since 2021-09-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_fo_freight_vehicle_assigned")
public class FreightVehicleAssigned extends DataEntity {

    private String puchaseOrderId;

    @ApiModelProperty(value = "是否是抢单派单")

    private Boolean isBidden;

    @ApiModelProperty(value = "司机是否确认接单，抢单情况则默认为真")

    private Boolean confirmed;

    @ApiModelProperty(value = "抢单编号,车队派单则此值为空")

    private String dispatchBidId;
    @ApiModelProperty(value = " 路线类型 local还是longhaul")
    private String routeDistanceType;
    @ApiModelProperty(value = "是否是自有车队司机")

    private Boolean isSelfDriver;

    @ApiModelProperty(value = "派单次数序号")

    private Integer timesSequence;

    @ApiModelProperty(value = "付款金额")

    private BigDecimal paymentAmount;

    @ApiModelProperty(value = "付款币种单位")

    private String paymentUnit;

    @ApiModelProperty(value = "运单是否真正被取货并进入运输流程")

    private Boolean transported;

    @ApiModelProperty(value = "派单状态")
    private String status;

    @ApiModelProperty(value = "货主编号")
    private String carrierNo;

    @ApiModelProperty(value = "货主名称")
    private String carrier;

    @ApiModelProperty(value = "合同编号")
    private String contractNo;

    private BigDecimal accountReceivable;
    private String ticketNo;

    @ApiModelProperty(value = "运费单价")
    private BigDecimal transferUnitPrice;

    @ApiModelProperty(value = "运费总金额")
    private BigDecimal transferTotalPrice;

    @ApiModelProperty(value = "订单单价")
    private BigDecimal orderUnitPrice;

    private String billNo;

    @ApiModelProperty(value = "司机姓名")
    private String driverName;

    @ApiModelProperty(value = "司机手机号")
    private String driverMobile;

    @ApiModelProperty(value = "车牌号")
    private String truckNo;

    @ApiModelProperty(value = "派单预估数量")
    private BigDecimal assignExpectQuantity;

    @ApiModelProperty(value = "要求取货时间")
    private Date requirePickupTime;

    @ApiModelProperty(value = "要求交货时间")
    private Date requireDeliveryTime;

    @ApiModelProperty(value = "要求取货地址")
    private String requirePickupAddress;

    @ApiModelProperty(value = "要求交货地址")
    private String requireDeliveryAddress;

    @ApiModelProperty(value = "货物名称")
    private String materialName;

    private String assignSeq;

    private String vehicleId;

    private String distributionNo;

    private String orderNo;
    private String departCity;

    private String deliveryCity;


    private String estPickupTime;

    private BigDecimal priceOffer;

    private String departLatitude;

    private String departLongitude;
    private String deliveryLongitude;

    private String deliveryLatitude;

    private String customerNo;

    private String cargoType;

    private String site;
    private String customerCell;

    private String customerName;

    private String consigneeName;
    private String consigneeAddress;
    private String consigneeMobilePhone;

    private String dispatchId;

    private String ftlOrLtl;

    private String departYn;

    private String deliveryYn;
    private String needUpdateFlag;

    private String departImgFilename;

    private String deliveryImgFilename;

    private String lastConfirmTime;

    private String deliveryAddr;

    private String pickupAddr;

    private Date departTime;

    private Date deliveryTime;

    private Date estDeliveryDay;

    private String confirmedDriverCellno;
    private String sendDrivers;

    private String wechatId;
    private String deliveryAccptCellno;

    private String transportQtyUnit;

    private BigDecimal transportQty;
    private String transportQtyDepartUnit;

    private BigDecimal transportDepartQty;

    private String paymentType;

    private String vehiclesLengthReq;


    private String loadMethod;


    private String dispatchToDrivers;

    private String departDate;
    private String destinationName;
    private String departureName;
    private String consigneeid;

    private BigDecimal priceAmtTot;
    private Double totTonWeight;

}
